package lab1;

public class Samsung implements memory {

	public String name = "Samsung";
	public double price;
	public String volume;

	public Samsung(double price, String volume) {
		this.price = price;
		this.volume = volume;
	}

	@Override
	public String getname() {
		return name;
	}

	@Override
	public double getprice() {
		return price;
	}

	@Override
	public String getvolume() {
		return volume;
	}
}
